<?php

namespace app\advertisement\validate;

use think\Validate;

class Advaccountlog extends Validate
{
    protected $failException = true;

    protected $rule = [
        'admin_id'  => 'require',
        'advertiser_id'  => 'require',
        'createtime'  => 'require',
        'shop_id'  => 'require',
    ];

    /**
     * 验证提示信息
     * @var array
     */
    protected $message = [
        'admin_id.require'       =>  '运营必须填写',
        'advertiser_id.require'       =>  '广告账户必须填写',
        'createtime.require'       =>  '开始时间必须填写',
        'shop_id.require'       =>  '店铺必须填写',
    ];

    /**
     * 字段描述
     */
    protected $field = [
    ];

}